const url = require( 'url')
const blog = require('./blog.js')
const socket = require('./socket.js')
module.exports = (req,res)=>{
	const u =url.parse(req.url);
	blog(req,res);
	socket(req,res);
	res.writeHead(404, {'Content-Type': 'text/html;charset=utf-8'});
	res.type = 'html';
	res.end('Not found');
}